package cn.com.dbq.demo.jenkins;

import cn.com.dbq.demo.jenkins.common.Result;
import cn.com.dbq.demo.jenkins.tools.ResultTools;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author xq
 * @Date 2025/1/18 20:41
 **/
@RestController
public class HelloController {

    @GetMapping("/hello")
    public Result<String> hello() {
        return ResultTools.ofSuccess("hello world");

    }

}
